package com.chinacoal.microservice.service;

import com.chinacoal.microservice.pojo.CcmsSmartleasingDeviceChange;
import com.chinacoal.microservice.pojo.CcmsSmartleasingRoom;
import com.chinacoal.microservice.util.QueryCriteria;
import com.chinacoal.microservice.util.Result;

import java.util.List;

/**
 * @author zhuliang
 * @version V1.0
 * @Description: 房源管理-房间管理-实现接口类
 * @date 2020-11-12 10：56
 */
public interface RoomManagementService {

    Result<List<CcmsSmartleasingRoom>> getListByPage(QueryCriteria queryCriteria, String token);

    Result<CcmsSmartleasingRoom> getRoomById(String pkRoomId, String token);

    Result addRoom(String token, CcmsSmartleasingRoom room);

    Result updateRoom(String token, CcmsSmartleasingRoom room);

    Result deleteRoom(String token, String deleteId);

    Result<List<CcmsSmartleasingRoom>> queryRoomManagement(QueryCriteria queryCriteria, String token);

    Result updateByRent(CcmsSmartleasingRoom room, String token);

    Result addDeviceChange(String token, CcmsSmartleasingDeviceChange deviceChange);

    Result<List<CcmsSmartleasingDeviceChange>> getDeviceChangesByRoomId_CurrentMonth(String pkRoomId, String bCurrentMonth, String token);
}
